Exact quantum algorithm to distinguish Boolean functions of different weights
نویسندگان
چکیده
Abstract In this work, we exploit the Grover operator for the weight analysis of a Boolean function, specifically to solve the weight-decision problem. The weight w is the fraction of all possible inputs for which the output is 1. The goal of the weight-decision problem is to find the exact weight w from the given two weights w1 and w2 satisfying a general weight condition as w1 + w2 = 1 and 0 < w1 < w2 < 1. First, we propose a limited weightdecision algorithm where the function has another constraint: a weight is in { w1 = sin2 ( k 2k+1 π 2 ) , w2 = cos2 ( k 2k+1 π 2 )} for integer k. Second, by changing the phases in the last two Grover iterations, we propose a general weightdecision algorithm which is free from the above constraint. Finally, we show that when our algorithm requires O(k) queries to find w with a unit success probability, any classical algorithm requires at least (k2) queries for a unit success probability. In addition, we show that our algorithm requires fewer queries to solve this problem compared with the quantum counting algorithm.
منابع مشابه
Exact quantum algorithms have advantage for almost all Boolean functions
It has been proved that almost all n-bit Boolean functions have exact classical query complexity n. However, the situation seemed to be very different when we deal with exact quantum query complexity. In this paper, we prove that almost all n-bit Boolean functions can be computed by an exact quantum algorithm with less than n queries. More exactly, we prove that ANDn is the only n-bit Boolean f...
متن کاملQuantum algorithm to distinguish Boolean functions of different weights
By the weight of a Boolean function f , denoted by wt(f), we mean the number of inputs for which f outputs 1. Given a promise that an n-variable Boolean function (available in the form of a black box and the output is available in constant time once the input is supplied) is of weight either wN or (1−w)N (0 < w < 1, N = 2), we present a detailed study of quantum algorithms to find out which one...
متن کاملQuantum algorithm for the asymmetric weight decision problem and its generalization to multiple weights
As one of the applications of Grover search, an exact quantum algorithm for the symmetric weight decision problem of a Boolean function has been proposed recently. Although the proposed method shows a quadratic speedup over the classical approach, it only applies to the symmetric case of a Boolean function whose weight is one of the pair {0 < w1 < w2 < 1, w1 + w2 = 1}. In this article, we gener...
متن کاملBQIABC: A new Quantum-Inspired Artificial Bee Colony Algorithm for Binary Optimization Problems
Artificial bee colony (ABC) algorithm is a swarm intelligence optimization algorithm inspired by the intelligent behavior of honey bees when searching for food sources. The various versions of the ABC algorithm have been widely used to solve continuous and discrete optimization problems in different fields. In this paper a new binary version of the ABC algorithm inspired by quantum computing, c...
متن کاملCharacterizations of symmetrically partial Boolean functions with exact quantum query complexity
We give and prove an optimal exact quantum query algorithm with complexity k+ 1 for computing the promise problem (i.e., symmetric and partial Boolean function) DJ n defined as: DJ k n(x) = 1 for |x| = n/2, DJ n(x) = 0 for |x| in the set {0, 1, . . . , k, n − k, n − k + 1, . . . , n}, and it is undefined for the rest cases, where n is even, |x| is the Hamming weight of x. The case of k = 0 is t...
متن کامل